package com.example.demo.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author chenkaiqi
 * 借阅信息的传输对象
 */
@Data
public class Borrow {
    private Integer studentId;
    private Integer bookId;
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date borrowDate;
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date backDate;
}
